//<FILENAME>test1.cpp</FILENAME>

//<Author>岁月如歌</Author>

//<DATE>2006/04/15</DATA>

//下面的代码是用来测试自己写的数学函数库的

#include "Math.h"
#include <iostream>
using namespace std;

int main(int argc, char *argv[])
{
 //cout<<"cuberoot of 8.0 is :"<<Math::cuberoot(8.0)<<endl;
 //cout<<"cuberoot of 9.0 is :"<<Math::cuberoot(9.0)<<endl;
 //cout<<"cuberoot of 27.0 is :"<<Math::cuberoot(27.0)<<endl;
 double a;
 double b;
 cout<<"Input double float a=:";
 cin>>a;
 cout<<"cuberoot of a="<<Math::cuberoot(a)<<endl;
 cout<<"Input double float b=:";
 cin>>b;
 cout<<"cube of b="<<Math::pow(b,3.0)<<endl;

 return 0;
}
